		<div id="main-content">
            <?php
                $content = '<h2>Nici un contact</h2>';
                if ($contacts) {
                    $content = '';
                    foreach($contacts as $contact) {
                        $content .= '<a href='. base_url() .'admin/contacte/form/' . $contact['cnt_id'].'>';
                        $content .=                   '<div class="list-entry-content" style=":hover { cursor:hand; color:red;}">';
                        $content .=                        '<div class="list-entry-content-group">';
                        $content .=                             '<div class="list-entry-content-group-left" style="font-size:medium;">' . 'Nume:' . '</div>';
                        $content .=                             '<div class="list-entry-content-group-right" style="font-size:medium;">' . ($contact['cnt_firstname'] .' ' . $contact['cnt_lastname']) . '</div>';
                        $content .=                        '</div>';
                        $content .=                        '<div class="list-entry-content-group">';
                        $content .=                            '<div class="list-entry-content-group-left" style="font-size:medium;">' . 'Telefon:' . '</div>';
                        $content .=                            '<div class="list-entry-content-group-right" style="font-size:medium;">' . ($contact['cnt_phonenb']) . '</div>';
                        $content .=                        '</div>';
                        $content .=                        '<div class="list-entry-content-group">';
                        $content .=                             '<div class="list-entry-content-group-left" style="font-size:medium;">' . 'Email:' . '</div>';
                        $content .=                             '<div class="list-entry-content-group-right" style="font-size:medium;">' . ($contact['cnt_email']) . '</div>';
                        $content .=                        '</div>';
                        $content .=                   '</div>';
                        $content .= '</a>';
                    }
                }
                echo $content;
            ?>			
		</div>
		
		<div class="clear"><?php echo '<p style="text-align:center;">' . $links . '</p>'; ?></div>
	</div>

</body>

</html>
